[Paper Review] Using Program Synthesis for Social Recommendations
This paper proposes a hybrid machine learning and program synthesis approach for personalized social event recommendations, where user preferences are learned as human-readable, decomposable logic programs. By combining support vector machines (SVMs) for initial classification with program synthesis to generate interpretable, executable models, the method reduces training time by orders of magnitude and improves prediction accuracy while enabling efficient, device-level data collection.
This paper presents a new approach to select events of interest to a user in a social media setting where events are generated by the activities of the user's friends through their mobile devices. We argue that given the unique requirements of the social media setting, the problem is best viewed as an inductive learning problem, where the goal is to first generalize from the users' expressed "likes" and "dislikes" of specific events, then to produce a program that can be manipulated by the system and distributed to the collection devices to collect only data of interest. The key contribution of this paper is a new algorithm that combines existing machine learning techniques with new program synthesis technology to learn users' preferences. We show that when compared with the more standard approaches, our new algorithm provides up to order-of-magnitude reductions in model training time, and significantly higher prediction accuracies for our target application. The approach also improves on standard machine learning techniques in that it produces clear programs that can be manipulated to optimize data collection and filtering.
Motivation & Objective
- Address the challenge of creating interpretable, decomposable models for personalized social event recommendations in mobile settings.
- Overcome limitations of black-box models in collaborative filtering by enabling model transparency and user feedback.
- Reduce energy consumption in mobile data collection by learning user preferences and filtering irrelevant events.
- Design an active learning framework that selects informative events for labeling, minimizing user effort in low-data regimes.
- Develop a system that generates human-understandable, executable logic programs from user feedback for runtime deployment on mobile devices.
Proposed method
- Use support vector machines (SVMs) to classify user likes/dislikes on event features, reducing the training data size by filtering out irrelevant examples.
- Apply program synthesis (via Sketch) to generate human-readable, decomposable logic programs from SVM-identified key features and labels.
- Construct logical predicates using boolean combinations of simple feature conditions (e.g., location ≠ 2, activity = 1) to enable device-level filtering.
- Integrate active learning by selecting the most informative events for user feedback, minimizing labeling overhead.
- Decompose models into atomic conditions that can be directly compiled and executed on mobile devices to drive selective data collection.
- Use ensemble learning and feedback loops to refine models iteratively, improving accuracy while maintaining interpretability.
Experimental results
Research questions
- RQ1Can program synthesis be effectively combined with machine learning to generate interpretable, decomposable models for social recommendation systems?
- RQ2How does the hybrid SVM + synthesis approach compare to standard classification techniques in terms of training time and prediction accuracy?
- RQ3To what extent can feature selection via SVM reduce the number of training examples needed for effective model synthesis?
- RQ4Can the resulting logic programs be efficiently executed on mobile devices to enable selective data collection and energy savings?
- RQ5How well does the system perform under noisy, skewed, and personalized data typical of real-world social media event streams?
Key findings
- The hybrid approach reduces model training time by up to an order of magnitude compared to standard machine learning methods.
- Prediction accuracy is significantly higher than baseline methods, particularly in low-data regimes due to effective feature selection via SVM.
- The method achieves perfect match with the original interest function using only 5% of the original training data in the best-case scenario.
- Synthesized models are human-readable and logically decomposable, enabling users to understand, verify, and tune their preferences.
- The approach enables efficient, device-level data collection by generating executable logic that filters out irrelevant events, reducing energy consumption.
- The system supports active learning, minimizing user labeling effort by selecting the most informative events for feedback.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.