Problem Solving Through Human-AI Preference-Based Cooperation

Subhabrata Dutta, Timo Kaufmann, Goran Glavas, Ivan Habernal, Kristian Kersting, Frauke Kreuter, Mira Mezini, Iryna Gurevych, Eyke Hüllermeier, Hinrich Schütze · DOI

TL;DR

Current generative AI struggles with complex expert-domain problems, lacking the ability to reliably co-construct solutions with humans. This paper introduces HAI-Co², a novel framework for human-AI co-construction that treats humans and AI as equal partners, leveraging natural language for flexible interaction and preference learning to tackle these challenges.

What Problem Does This Paper Address?

The paper addresses the significant gap between the promise of advanced AI and its current capabilities in solving complex, real-world problems within expert domains (e.g., software engineering, scientific research). While generative AI has made strides, it falters when faced with tasks requiring intricate planning, maintaining complex artifacts (like codebases), and adapting to nuanced human preferences. The authors argue that current AI is not yet a reliable partner for these tasks, often failing to keep track of context, express and adapt to diverse human preferences, or engage in true collaborative problem-solving. This limitation hinders the development of AI systems that can effectively assist human experts in domains where human intuition and AI's processing power are both crucial.

Methods

The core contribution is the HAI-Co² (Human-AI Co-Construction) framework. This framework is built on four key characteristics:

  1. Expert Domain Focus: Tackling complex problems in specialized fields requiring human expertise.
  2. Co-Construction of Solutions: The human and AI agent collaboratively build the solution step-by-step, modifying and refining it.
  3. Co-Construction of Objectives: The goal or objective of the solution is also collaboratively defined and refined through preference learning, acknowledging that initial goals may be underspecified.
  4. Natural Language Communication: Natural language serves as the primary medium for interaction, enabling equal partnership and flexible preference expression.

HAI-Co² formalizes problem-solving as a search process within a construction space of candidate solutions. This space is organized hierarchically across multiple abstraction levels (e.g., natural language specification, UML diagrams, code). The framework relies on preference learning to capture and adapt to human preferences, which are seen as latent and dynamic. The AI agent uses this learned preference model to guide its search and propose refinements.

Datasets

Not discussed in the paper. The paper focuses on a conceptual framework and uses running examples (code generation, related work generation) to illustrate its principles, rather than presenting results from training on specific datasets.

Key Insights and Ideas

  • AI as a Partner, Not Just a Tool: The paper strongly advocates for a shift from AI as an autonomous problem-solver or a simple tool to a collaborative partner that works with human experts as equals.
  • Objective Co-Construction is Crucial: For complex problems, the goal itself is often fluid and needs to be defined and refined alongside the solution. This is a critical departure from traditional AI approaches that assume fixed objectives.
  • Natural Language is the Great Enabler: The authors highlight the power of natural language as the primary communication medium, enabling nuanced preference expression and a more equitable partnership between humans and AI.
  • Hierarchy is Key for Complexity: Structuring the problem-solving process across multiple abstraction levels (e.g., from high-level specifications to detailed code) is essential for managing complex artifacts and facilitating systematic refinement.
  • Ethical Considerations are Intrinsic: The framework acknowledges and attempts to address ethical risks, particularly concerning the potential for AI manipulation in objective co-construction, by emphasizing transparency and human oversight.

Key Results

The paper presents a conceptual framework and an illustrative example of its application to code generation. While no quantitative results are presented, the authors conducted an offline human evaluation comparing HAI-Co² with a vanilla LLM (GPT-4 Turbo) for software-level code generation. The results indicated that:

  • HAI-Co² significantly outperformed GPT-4 Turbo across all five evaluation criteria:
  • Better incorporation of initial preferences (85.7% of evaluators).
  • Better adaptation to preference switching (78.6%).
  • Superior precision in iterative refinement (78.6%).
  • Greater completeness in iterative refinement (78.6%).
  • Overall suitability for software-level code generation (85.7%).

Limitations and Future Work

The authors acknowledge several limitations and outline future research directions:

  • Implementation Details: The current work is a conceptual framework. Key components like explicit neighborhood structures, robust preference extraction from real human interaction, and a dedicated utility function require further in-depth implementation.
  • Abstraction Hierarchy and Neighborhood Structure: Synergistically implementing these components for effective preference-based search is a non-trivial research challenge.
  • Communication Nuances: While natural language is powerful, effectively deciphering complex human preferences and requirements remains an open problem.
  • Learning from Active Human Edits: Current generative AI lacks the structures to effectively learn from direct human edits to candidate solutions.
  • Multimodal Interaction: Incorporating preferences beyond natural language (e.g., visual feedback) is a promising but challenging area.
  • Dynamic User Preferences: Current RLHF techniques are limited to static preferences; adapting to evolving user goals is crucial.
  • Guardrails for Objective Co-Construction: Addressing the risk of AI manipulation in objective definition requires further research, potentially through monitoring agents or AI alignment methodologies.
  • Evaluation: Developing robust evaluation metrics for co-constructed objectives and complex solutions is a significant challenge.
  • Integration with Tools: For domains like software engineering, integrating HAI-Co² with existing DevOps tools is necessary for practical application.

Summary updated

BibTeX
@inproceedings{dutta2024problem,
  author = {Subhabrata Dutta and Timo Kaufmann and Goran Glavas and Ivan Habernal and Kristian Kersting and Frauke Kreuter and Mira Mezini and Iryna Gurevych and Eyke Hüllermeier and Hinrich Schütze},
  title = {{Problem Solving Through Human-AI Preference-Based Cooperation}},
  booktitle = {Computational},
  year = {2024},
  doi = {10.1162/coli.a.19},
}
Figure