Structured Insights from Chaos: A Hybrid Ontology Approach to Facebook User Profiling

Age, Gender, Race and Smile Prediction Based on Social Textual and Visual Data Analyzing

2017-01-01
Onsa Lazzez, Wael Ouarda, Adel M. Alimi
Summary
Problem
Method
Results
Takeaways
Abstract

The paper introduces a specialized framework for social network user profiling, specifically targeting Facebook data. It presents a customized PHP application to extract unstructured user data, which is then structured through a hybrid semantic-multidimensional ontology and stored in a scalable NoSQL Cassandra database to facilitate predictions of age, gender, race, and smiling.

TL;DR

Social media holds a goldmine of user data, but its unstructured nature makes analysis difficult. This paper details a full-stack framework—from data extraction via a custom PHP app to storage in a NoSQL Cassandra database—that uses a Hybrid Semantic-Multidimensional Ontology to structure profiles and predict user attributes like age and race.

Problem & Motivation: The Messy Reality of Social Data

In the context of Smart Cities, understanding citizen preferences is key to improving services. However, social data from platforms like Facebook presents three major hurdles:

  1. Heterogeneity: Data ranges from text comments to cover photos.
  2. Volume: With billions of users, traditional relational databases (SQL) suffer from "Availability" and "Reliability" bottlenecks.
  3. Lack of Context: Vector-based models often treat interests as isolated points, ignoring the semantic links between, for example, a "Favorite Movie" and a "Religious Belief."

The authors argue that current tools like "Netvizz" or "RUM extractor" focus on extraction but fall short in providing a sophisticated representation that balances structure with semantic meaning.

Methodology: The Architecture of Understanding

The proposed framework follows a systematic pipeline: Collection → Representation → Storage.

1. Hybrid Ontology Model

The core innovation lies in combining two representation techniques:

  • Multidimensional Representation: Segregates data into logical buckets like "Textual" and "Multimedia."
  • Semantic Representation: Uses the Web Ontology Language (OWL) to define relationships between these buckets (e.g., how a "Like" relates to "Identity").

Architecture of the Proposed Framework

2. High-Scalability Storage (NoSQL)

Instead of the standard MySQL, the team uses Apache Cassandra. By using the Cassandra Query Language (CQL), the framework ensures that as the "Social@Regim" database grows, it maintains high performance—a critical requirement for analyzing social streams in a Smart City.

Analysis of the Ontology

The ontology is built around the "REGIM-User" class. It splits data into Explicit (Personal data, Likes) and Implicit (Comments, Status updates) categories. This distinction is vital for modern AI, as implicit data often reveals more about true user sentiment than their self-declared interests.

Ontology Hierarchy Table

Experiments & Results: Turning Photos into Profiles

To validate the system, the authors collected data from 50 test users. By processing the "Multimedia" dimension of their ontology (specifically profile pictures), they were able to run predictive models.

  • The Goal: Predict Age, Gender, Race, and "Smiling" status.
  • Outcome: The system mapped visual features directly back into the ontology, creating a rich, multi-faceted digital twin of the user.

Visual Attribute Prediction Results

Critical Insight & Conclusion

While the current work excels at structuring the data and providing a scalable home for it, the predictive side (Age/Gender estimation) appears to be a proof-of-concept. The real value for future practitioners is the Scalable Ontology Design.

Future Outlook: The next logical step is to automate the "feeding" of the ontology directly from the NoSQL database using Natural Language Processing (NLP) to turn "Implicit" comments into "Explicit" ontological facts. This would move social profiling from static storage to a living, evolving knowledge graph.

Takeaway for Tech Leads: If you are building a personalization engine, don't choose between a Graph/Ontology or a NoSQL store—bridge them. Use NoSQL for the heavy lifting of raw data and an OWL-based ontology to give that data meaning.

Find Similar Papers

Try Our Examples

  • Search for recent papers that use Deep Learning to automate the population of User Profile Ontologies from unstructured Facebook or Instagram metadata.
  • Which original studies established the comparison between SQL and Cassandra for social network data storage, and how does this paper's implementation differ?
  • Explore how the combined semantic-multidimensional profiling approach has been applied to personalized recommendation systems in Smart City environments.
Contents
Structured Insights from Chaos: A Hybrid Ontology Approach to Facebook User Profiling
1. TL;DR
2. Problem & Motivation: The Messy Reality of Social Data
3. Methodology: The Architecture of Understanding
3.1. 1. Hybrid Ontology Model
3.2. 2. High-Scalability Storage (NoSQL)
4. Analysis of the Ontology
5. Experiments & Results: Turning Photos into Profiles
6. Critical Insight & Conclusion